<template name="service">
  <ul class="view">
    <li class="border">
      <i class="icon"></i>
      <span class="title">100%航协认证</span>
    </li>
    <li class="border">
      <i class="icon icon2"></i>
      <span class="title">出行保证</span>
    </li>
    <li>
      <i class="icon icon3"></i>
      <span class="title">
        7x24小时服务
        <span style="font-size: 12px;color: orange;font-weight: bold;">4006345678转2</span>
      </span>
    </li>
  </ul>
</template>

<script>
export default {
  name: "service"
};
</script>

<style lang="stylus" scoped>
.view {
  height: 58px;
  font-size: 18px;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  width: 1000px;
  margin: auto;
  background-color: #f6f6f6;
  margin-top: 15px;

  li {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;

    .icon {
      width: 40px;
      height: 34px;
      background-image: url('https://b2-q.mafengwo.net/s14/M00/80/C2/wKgE2l0do-GAczUGAAAaNUcOHfo497.png');
      background-repeat: no-repeat;
      display: inline-block;
      background-position: 0px -90px;
    }

    .icon2 {
      background-position: -54px -90px;
    }

    .icon3 {
      background-position: -113px -90px;
    }

    .title {
      display: grid;
      padding-left: 15px;
      box-sizing: border-box;
    }
  }

  .border {
    position: relative;

    &:before {
      content: '';
      width: 1px;
      height: 80%;
      position: absolute;
      right: -75px;
      background-color #ccc
    }
  }
}
</style>